<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			#hd{
				width: 400px;
				height: 300px;
				border: 4px solid red;
				float: left;
				margin: 10px;
				position: relative;
			}
			.pic{
				width: 200px;
				border: 2px solid green;
				position: absolute;
				left: 200px;
				bottom: 0;
				transition: left 1s;
			}
			#hd:hover .pic{
				left: 180px;
			}
		</style>
	</head>
	<body>
		<div id="hd"><img src="1.jpg" alt="" class='pic'/></div>
		<div id="hd"><img src="1.jpg" alt="" class='pic'/></div>
		<div id="hd"><img src="1.jpg" alt="" class='pic'/></div>
		<div id="hd"><img src="1.jpg" alt="" class='pic'/></div>
		<div id="hd"><img src="1.jpg" alt="" class='pic'/></div>
		<div id="hd"><img src="1.jpg" alt="" class='pic'/></div>
		<div id="hd"><img src="1.jpg" alt="" class='pic'/></div>
		<div id="hd"><img src="1.jpg" alt="" class='pic'/></div>
		<div id="hd"><img src="1.jpg" alt="" class='pic'/></div>
	</body>
</html>
